package cn.yunyichina.provider.clinic.payrefund.entity;

import java.io.Serializable;

public class Refund implements Serializable {


	protected static final long serialVersionUID = -1787003794660738083L;

	private Integer tradeMode;


	protected String appId;

	protected String appCode;


	protected String openId;

	protected String userId;


	protected String mchId;


	protected String key;


	protected String orderNo;


	protected String refundOrderNo;


	protected String agtOrdNum;

	
	protected String agtRefundOrdNum;


	protected String refundRemark;


	private int refundFlag = 0;


	protected String returnMsg;


	protected String refundPrefix;


	protected String field;


	protected String failUrl;

	public Refund() {
		super();
	}

	public Refund(Integer tradeMode, String appId, String appCode, String openId, String mchId, String key, String outTradeNo, String outRefundNo,
			String transactionId, String refundId, String refundRemark, int refundFlag, String returnMsg, String refundPrefix, String field) {
		super();
		this.tradeMode = tradeMode;
		this.appId = appId;
		this.appCode = appCode;
		this.openId = openId;
		this.mchId = mchId;
		this.key = key;
		this.orderNo = outTradeNo;
		this.refundOrderNo = outRefundNo;
		this.agtOrdNum = transactionId;
		this.agtRefundOrdNum = refundId;
		this.refundRemark = refundRemark;
		this.refundFlag = refundFlag;
		this.returnMsg = returnMsg;
		this.refundPrefix = refundPrefix;
		this.field = field;
	}

	public Integer getTradeMode() {
		return tradeMode;
	}

	public void setTradeMode(Integer tradeMode) {
		this.tradeMode = tradeMode;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getRefundOrderNo() {
		return refundOrderNo;
	}

	public void setRefundOrderNo(String refundOrderNo) {
		this.refundOrderNo = refundOrderNo;
	}

	public String getAgtOrdNum() {
		return agtOrdNum;
	}

	public void setAgtOrdNum(String agtOrdNum) {
		this.agtOrdNum = agtOrdNum;
	}

	public String getAgtRefundOrdNum() {
		return agtRefundOrdNum;
	}

	public void setAgtRefundOrdNum(String agtRefundOrdNum) {
		this.agtRefundOrdNum = agtRefundOrdNum;
	}

	public String getRefundRemark() {
		return refundRemark;
	}

	public void setRefundRemark(String refundRemark) {
		this.refundRemark = refundRemark;
	}

	public int getRefundFlag() {
		return refundFlag;
	}

	public void setRefundFlag(int refundFlag) {
		this.refundFlag = refundFlag;
	}

	public String getReturnMsg() {
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}

	public String getRefundPrefix() {
		return refundPrefix;
	}

	public void setRefundPrefix(String refundPrefix) {
		this.refundPrefix = refundPrefix;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getFailUrl() {
		return failUrl;
	}

	public void setFailUrl(String failUrl) {
		this.failUrl = failUrl;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
}
